package com.fang.gulimall.admin.domain.system.post.command;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName UpdatePostCommand
 * @Description TODO
 * @Author fangge
 * @Date 2024/6/13 12:54
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UpdatePostCommand extends AddPostCommand {

    @NotNull(message = "岗位ID不能为空")
    @Positive
    private Long postId;

}
